package cn.iocoder.yudao.module.brokerage.merchant.service;

import cn.iocoder.yudao.framework.business.basic.service.PageService;
import cn.iocoder.yudao.framework.business.basic.service.SimpleDetailService;
import cn.iocoder.yudao.module.brokerage.merchant.pojo.vo.AdminBrokerageMerchantQueryDTO;
import cn.iocoder.yudao.module.brokerage.merchant.pojo.vo.AdminBrokerageMerchantVO;

/**
 * 推广商家 Service 接口
 *
 * @author 山野羡民
 */
public interface AdminBrokerageMerchantService extends SimpleDetailService<AdminBrokerageMerchantVO>, PageService<AdminBrokerageMerchantVO, AdminBrokerageMerchantQueryDTO> {

    /**
     * 绑定用户推广关系
     *
     * @param shopId 店铺编号
     * @param agencyUserId 招商人员用户编号
     */
    boolean bindRelation(Long shopId, Long agencyUserId);

}